{{define "other/subscribe.html"}}
<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    {{template "meta.html"}}

    <title>wcgblog - 订阅</title>

    <!-- Bootstrap Core CSS -->
    <link href="/static/libs/bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="/static/css/blog-post.css" rel="stylesheet">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

    <!-- jQuery -->
    <script src="/static/libs/jquery/jquery.min.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="/static/libs/bootstrap/js/bootstrap.min.js"></script>

    <link rel="stylesheet" href="/static/css/base.css"/>

</head>

<body>
{{template "navigation.html"}}

<div class="container">
    {{if .message}}
    <div class="alert alert-warning" role="alert">
        <a href="#" class="alert-link">{{.message}}</a>
    </div>
    {{end}}

    <form class="form-inline" method="post">
        <div class="form-group">
            <label class="sr-only" for="emailInput">Email</label>
            <input type="email" name="mail" class="form-control" id="emailInput" placeholder="Email">
        </div>
        <button type="submit" class="btn btn-primary">订阅</button>
        <span>共{{.total}}人订阅</span>
    </form>

</div>

</body>

</html>
{{end}}